package com.captainbank.tcl.tclapplication.model;

import com.sunfusheng.marqueeview.IMarqueeItem;

/**
 * Created by TCL on 2019/5/20.
 * Describe:
 */
public class MarqueeEntity implements IMarqueeItem {
    private String msg;
    private int id;

    public MarqueeEntity(int id,String msg) {
        this.id = id;
        this.msg = msg;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    @Override
    public CharSequence marqueeMessage() {
        return "第：" + id + "消息：" + msg;
    }
}
